const mongoose = require("mongoose");

mongoose.connect("mongodb+srv://hli239064:kYmQRhL1mBZBgqpi@cluster0.plcz7oy.mongodb.net/Warehouse").then(() => {

    console.log("连接成功");
  })
  .catch((err) => {
    console.log("连接失败");
  });
  
module.exports = mongoose